Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix axis inputs in a Chord being read a button #381

Merged
merged 4 commits into from
Sep 10, 2023

Conversation

100-TomatoJuice
Copy link
Collaborator

Fixes #380

The design, as discussed on Discord, is to prioritize axis inputs being read over button in a Chord. Currently, I have it so all axis inputs are added together, as someone might want to have two inputs to affects the input from a chord. I'm not a big fan of the has_axis bool, but I couldn't find a nice way to get that information across. Possibly doing a inputs.iter().find() on the if statement?

@alice-i-cecile alice-i-cecile added the bug Something isn't working label Sep 10, 2023
RELEASES.md Outdated Show resolved Hide resolved
@alice-i-cecile alice-i-cecile enabled auto-merge (squash) September 10, 2023 14:07
@alice-i-cecile alice-i-cecile merged commit 5e8d7a3 into Leafwing-Studios:main Sep 10, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Combining a SingleAxis with a Modifier returns incorrect values
2 participants